import request from '@/util/request'

const Api = {};

Api.login = function(data) {
	return request({
		url: 'auth/wx',
		method: 'post',
		data: data,
	})
}
Api.jssdk = function (data) {
    return request({
		version: '',
        url: 'wx/jssdk',
        method: 'get',
		data:data,
    })
}
Api.stat = function () {
    return request({
        url: 'stat',
        method: 'get',
    })
}
export default Api
